export function getComponentByUrl(name) {
    const getComponentPath = resolve => require([`./src/${name}.vue`], resolve)
    return new Promise(resolve => {
        getComponentPath(resolve)
    })
}